<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021/1/25
  Time: 16:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>cookie</title>
</head>
<body>
  <%
      Cookie []cr=request.getCookies();
      //
      if(cr!=null){
          for(Cookie c:cr){
              out.print("<p>"+c.getName()+",value="+c.getValue()+",path="+c.getPath()+"</p>");

          }
      }
  %>
</body>
</html>
